/**
 * author: XGP
 * date: 2018/07/25
 * des: 人员招聘-招聘规划
 */
import request from '@/utils/request'

/**
 * 查询招聘信息状态统计
 */
export function getPlanaudit() {
  return request({
    url: '/recruitreqverifys/findStatusCount',
    method: 'get'
  })
}

/**
 * 查询待审批列表
 */
export function getRequireList(data) {
  return request({
    url: '/recruitreqverifys/findAllIng',
    method: 'get',
    params: data
  })
}


/**
 * 查询已审批列表
 */
export function getRequireEndList(data) {
  return request({
    url: '/recruitreqverifys/findAllEnd',
    method: 'get',
    params: data
  })
}
/**
 * 审批通过
 */
export function approveReqPass(data) {
  return request({
    url: '/recruitreqverifys/deal',
    method: 'get',
    params: data
  })
}

/**
 * 审批不通过
 */
export function approveReqNo(data) {
  return request({
    url: '/recruitreqverifys/deal',
    method: 'get',
    params: data
  })
}

/**
 * 查询详情
 */
export function getRequireDetail(data) {
  return request({
    url: '/recruitreqverifys/detail',
    method: 'get',
    params: data
  })
}

